﻿using System.ComponentModel;

// Author: Miroslav Matula m.matula@alutam.cz 
// Date : 31/8/2010

namespace System.Windows.Controls
{
	public interface IDataGridToolBar_DataFormWindow
	{
		object ItemsSource { get; set; }
		object CurrentItem { get; }
		[TypeConverter(typeof(NullableBoolConverter))]
		bool? DialogResult { get; set; }

		event EventHandler Closed;
		event EventHandler DataChanged;
		Action<bool> CallBackDataChanged { get; set; }

		void AddNewItem();
		void EditItem(object item);
	}
}
